<?php
namespace backend\models;

use Yii;
use yii\base\Model;
use yii\base\Exception;
use common\models\OrderProduct;
use commom\models\CustomerOrder;
use common\models\TransferUndertake;

class OrderListForm extends Model
{
	public function formName()
    {
        return '';
    }

	// public function rules()
	// {
	// 	return [
	// 		[['barcode', 'name', 'sex', 'mobileNumber', 'check_time'], 'safe']
	// 	];
	// }

	public function query()
	{
		$data = OrderProduct::find()->where('id <> 0');

		return $data;
	}

}	